package io.demo1_file;

import java.io.File;

public class Test {
    public static void main(String[] args) {
        File f=new File("d:/work/1.txt");
        f=new File("d:/work","1.txt");
        File dir=new File("d:/work");
        f=new File(dir,"1.txt");

        System.out.println(f);
    }
}
